import crypto from 'crypto'

const md5 = crypto.createHash('md5');

export default encryption = (password) => md5.update(password).digest('hex');